<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>分销中心</title>
  <meta name="viewport" content="initial-scale=1, maximum-scale=1">
  <link rel="shortcut icon" href="/favicon.ico">
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="black">
  <link type="text/css" rel="stylesheet" href="http://g.alicdn.com/msui/sm/0.5.4/css/sm.min.css">
  <link type="text/css" rel="stylesheet" href="http://g.alicdn.com/msui/sm/0.5.4/css/sm-extend.min.css">
  <link type="text/css" rel="stylesheet" href="__PUBLIC__/user/shop/css/shop.css?v=1">
</head>
<body>
  <div class="page theme-diy" id="page-index">
      <div class="shop_top">
         <div class="wp">
         <div class="icon left shop_icon"> <span class="icon icon-cart"></span></div>
          <div class="searchbar right">
          <a class="searchbar-cancel">取消</a>
         <div class="search-input">
         <form action="?"  method="get">
         <label class="icon icon-search" for="search"></label>
         <input type="search" id='search' name="key" placeholder='请输入商品名称'/>
         </form>
       </div>
     </div>
   </div>
<div class="content infinite-scroll shop_content" data-distance="100">

      <ul class="list_shop">

           <?php foreach ($shop_item as $v):?>
           <li>
             <a href="{:U('/user/shop/item',array('id'=>$v['id']))}">
             <div class="pic">
               <img src="<?php echo $v['litpic']; ?>" alt="">
               <?php if($v['tj']){?><span class="tj"></span><?php }?>
             </div>
             <div class="shop_title wp"><?php echo $v['title']; ?></div>
             <div class="info">
                <div class="wp">
                <div class="left price">
                   <span >零售价/套</span>
                   <?php $suk= json_decode($v['suk'],true); ?>
                   <p>￥<?php echo min($suk)['price'];?>-<?php echo max($suk)['price'];?></p>
                </div>
                <div class="left fencheng">
                   <span>提成/单</span>
                   <p>￥<?php echo min($suk)['ticheng'];?>-<?php echo max($suk)['ticheng'];?></p>
                </div>
                </div>
             </div>
             </a>
           </li>
          <?php endforeach;?>
        


      </ul>

</div>

 
 <div style="height:2rem;"></div>


<!--底部-->
<nav class="bar bar-tab">
   <div class="wp">
     <a class="button button-link button-nav pull-left back" href="/demos">
      <span class="icon icon-left"></span>
      返回
     </a>
   </div>
</nav>
<!--end底部-->
</div>

<script type='text/javascript' src='http://g.alicdn.com/sj/lib/zepto/zepto.min.js' charset='utf-8'></script>
<script type='text/javascript' src='http://g.alicdn.com/msui/sm/0.5.4/js/sm.min.js' charset='utf-8'></script>
<script type='text/javascript' src='http://g.alicdn.com/msui/sm/0.5.4/js/sm-extend.min.js' charset='utf-8'></script>
<script type='text/javascript' src='__PUBLIC__/user/shop/js/shop.js' charset='utf-8'></script>
</body>
</html>